<template>
  <div class="text-pop-up-top">页面不见了,三秒自动返回</div>
</template>

<script setup name="NotFound">
import { useRouter } from "vue-router";
const router = useRouter();
setTimeout(() => {
  if (localStorage.getItem("UUID")) {
    router.replace("/index");
  } else {
    router.replace("/login");
  }
}, 3000);
</script>

<style lang="scss" scoped>
</style>